Skip to content

Pullrequest dtstart exdate tz fix#146

Open
JoachimFalk wants to merge 2 commits intoskarim:masterfrom
JoachimFalk:pullrequest-dtstart-exdate-tz-fix
Open

Pullrequest dtstart exdate tz fix#146
JoachimFalk wants to merge 2 commits intoskarim:masterfrom
JoachimFalk:pullrequest-dtstart-exdate-tz-fix

Conversation

@JoachimFalk
Copy link

Description: Fixed exception can't compare offset-naive and offset-aware datetimes
Author: Joachim Falk joachim.falk@gmx.de

Fixed exception
'TypeError: can't compare offset-naive and offset-aware datetimes'
triggered when DTSTART and EXDATE not both have or not have timez one
information. Fix will propagte time zone information from from DTSTART
to EXDATE if EXDATE does not have a TZ or strip the TZ from EXDATE
when DTSTART does not have time zone information.

Fixed exception
  'TypeError: can't compare offset-naive and offset-aware datetimes'
triggered when DTSTART and EXDATE not both have or not have timez one
information. Fix will propagte time zone information from from DTSTART
to EXDATE if EXDATE does not have a TZ or strip the TZ from EXDATE
when DTSTART does not have time zone information.
@JoachimFalk
Copy link
Author

The proposed patch should fix issue #139 "TypeError: can't compare offset-naive and offset-aware datetimes in getrruleset"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant